package com.learn.lombok.superBuilder;

import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

@NoArgsConstructor
@SuperBuilder(
        // 定义 创建构建器方法名称
        builderMethodName = "builder"
        // 是否生成实例方法： 用于创建构建器
        , toBuilder = true
        // 构建方法名
        , buildMethodName = "build"
        // 构建器中 setter 方法的前缀
        , setterPrefix = "set"
)
public class SuperBuilderEntity extends ParentEntity {
    private String name;
    private String age;
}
